﻿module Sustainalytics.Insights.Admin {

    
    export class InsightDto {

        public id: string;

        public addedByUserId: string;
        public addedByUserName: string;
        public datePublished: string;
        public dateUnPublished: string;

        public fileUrl: string;
        public imageUrl: string;

        public fileId: string;
        public imageId: string;

        public fileName: string;
        public imageName: string;

        public fileS3Name: string;
        public imageS3Name: string;

        public insightsSectorId: string;
        public insightsTopicId: string;

        public state: number;
        public summary: string;// max 5000 chars
        public title: string;// max 100 chars

        public selected: boolean;

    }

    export class InsightDtoUi extends InsightDto{
        public selected: boolean;

    }
} 